cmake_minimum_required (VERSION 2.8)

set (CMAKE_CXX_FLAGS "-g")

# find_package (vsomeip 2.6.0 REQUIRED)
# find_package( Boost 1.55 COMPONENTS system thread log REQUIRED )

include_directories (
    ${Boost_INCLUDE_DIR}
    ../third-party/out/include
)

add_executable(service-example service_main.cc)
target_link_directories(service-example PUBLIC ../third-party/out/lib)
target_link_libraries(service-example vsomeip3 ${Boost_LIBRARIES} pthread)

add_executable(client-example client_main.cc)
target_link_directories(client-example PUBLIC ../third-party/out/lib)
target_link_libraries(client-example vsomeip3 ${Boost_LIBRARIES} pthread)